﻿package com.sz.manager.bmo.impl;

import java.util.Map;

import com.sz.manager.bmo.IManagerBMO;
import com.sz.manager.dao.IManagerDAO;

public class ManagerBMO implements IManagerBMO{
	
	protected IManagerDAO managerDAO = null;
	public IManagerDAO getManagerDAO() {
		return managerDAO;
	}
	public void setManagerDAO(IManagerDAO managerDAO) {
		this.managerDAO = managerDAO;
	}
	
	@SuppressWarnings("unchecked")
	public long addManager(Map map) throws Exception {
		return managerDAO.addManager(map);
	}
}
